package com.big.model.model.patient.address;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
@ApiModel(value = "用户地址实体类")
@TableName(value = "patient_address")
public class PatientAddress {


    @ApiModelProperty(value = "编号")
    @TableField("id")
    private  String id;


    @ApiModelProperty(value = "收货人姓名")
    @TableField("contacts_name")
    private  String contactsName;



    @ApiModelProperty(value = "详细地址")
    @TableField("address")
    private  String address;


    @ApiModelProperty(value = "用户编号")
    @TableField("p_id")
    private  Long pId;

    @ApiModelProperty(value = "手机号")
    @TableField("contacts_phone")
    private  String contactsPhone;

    @ApiModelProperty(value = "(数据字典)省Code")
    @TableField("province_code")
    private  Integer provinceCode;


    @ApiModelProperty(value = "(数据字典)城市Code")
    @TableField("city_code")
    private  Integer cityCode;


    @ApiModelProperty(value = "(数据字典)区Code")
    @TableField("district_code")
    private  Integer districtCode;


    @ApiModelProperty(value = "其他参数")
    @TableField(exist = false)
    private Map<String,Object> param = new HashMap<>();

}
